<template>
  <div>
    <h1>价格为{{count | changeCount(2)}}</h1>
    <h1>价格为{{count | changeValue(3)}}</h1>
  </div>
</template>

<script>
  export default {
    name : 'App',
    data(){
      return{ 
        count : 100
      } 
    },
    filters:{
      changeCount(value,unm){
          return "￥" + value.toFixed(unm)
      }
    }
  }
</script>

<style lang="css" scoped>

</style>